<%--
  Created by IntelliJ IDEA.
  User: 86152
  Date: 2022/3/23
  Time: 15:44
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%@ include file="/WEB-INF/view/template.jsp" %>
<div class="page-wrapper">
    <div class="main-content">
        <!-- Page Title Start -->
        <div class="row">
            <div class="colxl-12 col-lg-12 col-md-12 col-sm-12 col-12">
                <div class="page-title-wrapper">
                    <div class="page-title-box">
                        <h4 class="page-title bold">主页</h4>
                    </div>
                    <div class="breadcrumb-list">
                        <ul>
                            <li class="breadcrumb-link">
                                <a href="javascript:void(0);"><i class="fas fa-home mr-2"></i>Dashboard</a>
                            </li>
                            <li class="breadcrumb-link active">
                                <a href="/api/admin/">管理员</a>
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>

        <!-- Dashboard Start -->
        <div class="row">
            <div class="col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12">
                <div class="card">
                    <div class="card-header">
                        <h4>添加商品</h4>
                        <p class="card-desc">添加 <code>名称</code> 和<code>描述</code></p>
                    </div>
                    <div class="card-body">
                        <form action="api/user/add_product" method="post">
                            <div class="col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12">
                                <input type="text" name="id" hidden/>
                                <div class="form-group">
                                    <label class="col-form-label">商品名称</label>
                                    <input class="form-control" type="text" placeholder="商品名称" name="ptitle"/>
                                </div>
                                <div class="form-group">
                                    <label class="col-form-label">商品描述</label>
                                    <input class="form-control" type="text" placeholder="商品描述" name="pdesc"/>
                                </div>
                                <div class="form-group mb-0">
                                    <input class="btn btn-light" type="submit" value="提交"/>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>
